FROM nginx
MAINTAINER jeecgos@163.com
VOLUME /tmp
ENV LANG en_US.UTF-8
RUN echo "server {  \
                     listen       8082; \
                     server_name  localhost; \
                     root        /var/www/html; \
                     location / { \
                         index  index.html index.htm; \
                     } \
                  access_log  /var/log/nginx/access.log ; \
              } " > /etc/nginx/conf.d/default.conf \
              &&  mkdir -p /var/www/html
ADD dist/ /var/www/html/
EXPOSE 8082
EXPOSE 443